package com.ym.shardingsphere.vo;

import java.math.BigDecimal;
import java.time.LocalDateTime;
import java.io.Serializable;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import java.math.BigDecimal;
import java.util.Date;
import com.fasterxml.jackson.annotation.JsonInclude;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * @version v1.0
 * @ProjectName: SpringCloud-Alibaba-YM
 * @ClassName: 订单分库分表演示
 * @Description: TODO 订单分库分表演示实体信息
 * @Author:  晨曦
 * @Date:  2020-12-21 9:48:12
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@JsonInclude(JsonInclude.Include.USE_DEFAULTS)
@ApiModel(value="TxOrderVO对象", description="描述：订单分库分表演示VO")
public class TxOrderVO implements Serializable {
    private static final long serialVersionUID = 1L;

    /**
     * 订单主键
     */
    @ApiModelProperty(value = "订单主键")
    private String orderId;

    /**
     * 订单编码
     */
    @ApiModelProperty(value = "订单编码")
    private String orderNum;


    /**
     * 加密订单编码
     */
    @ApiModelProperty(value = "加密订单编码(测试)")
    private String orderNumEncrypt;


    /**
     * 加密盐值
     */
    @ApiModelProperty(value = "加密盐值(测试)")
    private String orderSalt;


    /**
     * 订单金额
     */
    @ApiModelProperty(value = "订单金额")
    private BigDecimal orderPrice;

    /**
     * 备注信息
     */
    @ApiModelProperty(value = "备注信息")
    private String remak;

    /**
     * 数据创建时间
     */
    @ApiModelProperty(value = "数据创建时间")
    private Date creatAt;

    /**
     * 数据修改时间
     */
    @ApiModelProperty(value = "数据修改时间")
    private Date updateAt;

    /**
     * 数据编码
     */
    @ApiModelProperty(value = "数据编码")
    private Integer dbNum;

    /**
     * 分库数据编码
     */
    @ApiModelProperty(value = "分库数据编码")
    private String dbTableNum;




}

//====================================================//
//***************** 非本表数据字段*********************//